
env = Environment()
env[ 'CCFLAGS' ] = '-g -O2 -fPIC -Wall -Wno-sign-compare'
env[ 'CPPPATH' ] = [ '../include', '../../include', '../../../include', '../../../../include','/home/s/include', ]
env[ 'CPPFLAGS' ] = []
env[ 'LIBDIR' ] = ['../lib','../../lib','../../../lib','../../../../lib']
env[ 'LIBPATH' ] = [ '/home/s/lib/static', ]
env[ 'LIBS' ] = ['boost_filesystem-mt', 'boost_system-mt', 'boost_thread-mt','pthread',]


libfile = env.StaticLibrary('boque_trasio', ['channel.cpp','broker.cpp','client.cpp',])
libfilename = str(libfile[0])
for libdir in ( '../lib', '../../../../lib') :
	env.Command( '%s/%s' % (libdir, libfilename), libfilename, Copy("$TARGET","$SOURCE") )

for hpp in ( 'client.hpp', ) :
	env.Command( '../../../../include/boque/trasio/%s' % hpp, '../include/boque/trasio/%s' % hpp, Copy("$TARGET","$SOURCE") )


